package mspbots.teams.data.core.groups;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Jay Yang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("teams_channels")
public class Channel implements Serializable {
    @Id
    private Long id;
    private Long tenantId;
    private String otherId;
    private LocalDateTime syncTime;
    private LocalDateTime updateTime;
    private LocalDateTime createTime;
    private JsonNode extend;

}
